package org.springds3.d1.test2;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component("userInfoAspect")
public class UserInfoAspect {
    @Before("execution(* org.springds3.d1.test2.UserInfo.info())")
    public void before(){
        System.out.println("前置增强");
    }
}
